﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsTest.Reserve
{
    public partial class ReserveSearch : MainTabUserContorl
    {

        string[][] initData = new string[][] { new string[] { "PIC0033", "Micosoft", "2000","1200","500", "个","A仓库", "华电", "A", "", "00-2212-20332"},new string[] { "IIC0033", "IBM", "2000","1200","500", "个","B仓库", "华电", "A", "", "00-2212-20332"}  };



        public ReserveSearch()
        {
            InitializeComponent();

            this.dataGridView1.Rows.Add();
            this.dataGridView1.Rows.Add();
            for (int i = 0; i < initData.Length; i++)
            {
                for (int j = 0; j < initData[0].Length; j++)
                {
                    this.dataGridView1.Rows[i].Cells[j].Value = initData[i][j];
                }

            }
        }
    }
}
